package com.second.alipay.service;


import com.alipay.api.AlipayApiException;
import com.second.common.pojo.R;

public interface AlipayService {

    /**
     * 支付时的二维码创建
     * @param orderMoney
     * @return
     * @throws Exception
     */
    R payMoney(Integer orderMoney) throws Exception;


    /**
     * 查询支付状态
     * @param orderId 订单号
     * @return
     */
    R getAliPayStatus(String orderId) throws AlipayApiException;
}
